package com.zrrd.learn.chapter08面向对象.isa;

import lombok.Data;

/**
 * 动物类
 *
 * @author wrn
 * @version 1.0
 * @date 2023/7/25 15:14
 */
@Data
public class Animal {

    final int a = 9;

    private String foot;

    public void run(){
        System.out.println("动物走");
    }

    public void eat(){
        System.out.println("动物吃");
    }

}